package com.demo.config;

import com.demo.controller.from.MovieTicketingsFrom;
import com.demo.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;


@FeignClient(name = "order-server")
public interface OrderFeignClient {

    @PostMapping("/orderserver/movieTicketing/addMovieTicketings")
    public Result<Boolean> addMovieTicketings(@RequestBody MovieTicketingsFrom movieTicketingsFrom);
}
